﻿<Page x:Class="University.Workshop.Presentation.Square.Register.RegisterSquare"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" Title="RegisterSquare" Height="518" Width="759">

    <Grid>
        <Label Content="Registro de Manzano" FontSize="42" FontWeight="Bold" HorizontalAlignment="Center" Margin="0,0,0,0" VerticalAlignment="Top" />
        <Button Content="Registrar Manzano" Height="53" HorizontalAlignment="Left" Margin="542,454,0,0" Name="RegisterSquareBtn" VerticalAlignment="Top" Width="204" FontSize="20" />
        <GroupBox Header="Datos del Manzano" Height="374" HorizontalAlignment="Left" Margin="11,74,0,0" Name="groupBox1" VerticalAlignment="Top" Width="426">
            <Grid>
                <Label Content="Nombre del Manzano:" HorizontalAlignment="Left" Margin="11,19,0,0"  VerticalAlignment="Top" />
                <Label Content="Croquis:" Height="28" HorizontalAlignment="Left" Margin="11,243,0,0" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="135,12,0,0" Name="textBox2" VerticalAlignment="Top" Width="142" MaxLength="125" />
                <TextBox Height="23" IsReadOnly="True" HorizontalAlignment="Left" Margin="82,243,0,0" Name="LocationImageTxt" VerticalAlignment="Top" Width="195" />
                <Button Content="..." Height="23" HorizontalAlignment="Left" Margin="283,243,0,0" Name="SearchImageBtn" VerticalAlignment="Top" Width="28" Click="SearchImageBtn_Click" />
                <Image Height="195" HorizontalAlignment="Left" Margin="82,42,0,0" Name="SquareImageImg" Stretch="Fill" VerticalAlignment="Top" Width="195" Source="/University.Workshop.Presentation;component/Resources/Images/NoImage.jpg" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Lotes del Manzano" Height="374" HorizontalAlignment="Left" Margin="443,74,0,0" Name="groupBox2" VerticalAlignment="Top" Width="303">
            <Grid>
                <ListBox Height="181" HorizontalAlignment="Left" Margin="109,71,0,0" Name="listBox1" VerticalAlignment="Top" Width="170" />
                <Label Content="Nombre del Lote:" HorizontalAlignment="Left" Margin="6,19,0,0" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="109,12,0,0" Name="textBox4" VerticalAlignment="Top" Width="170" MaxLength="125" />
                <Button Content="Añadir Lote" Height="23" HorizontalAlignment="Left" Margin="204,42,0,0" Name="AddAllotmentBtn" VerticalAlignment="Top" Width="75" />
            </Grid>
        </GroupBox>
        <Button Content="Cancelar" Height="53" HorizontalAlignment="Left" Margin="332,453,0,0" Name="CancelBtn" VerticalAlignment="Top" Width="204" FontSize="20" Click="CancelBtn_Click" />
    </Grid>
</Page>
